<!--<nav class="navbar navbar-default header-bar" role="navigation">
    <div class="container">-->
        <!-- Brand and toggle get grouped for better mobile display -->
        <!--<div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#/home">商城</a>
        </div>-->

        <!-- Collect the nav links, forms, and other content for toggling -->
       <!-- <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li><a href="#/home">首页</a></li>
                <li><a href="#/categories">商户</a></li>
                <li><a href="#/hotest_shops/hotests">热门商店</a></li>-->
                <!--<li><a href="#/profile">个人中心</a></li>-->
               <!-- <li><a href="#/my_favorites" ng-if="currentUser.id">我的收藏</a></li>
                <li>
                    <a href="#/category-admin"
                       ng-if="hasAnyRoles('admin', 'push_admin', 'shop_checker', 'shop_owner', 'product_checker')">后台</a>
                </li>
                <li>
                    <a href="#/user-admin"
                       ng-if="hasAnyRoles('admin')">用户管理</a>
                </li>
            </ul>

            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown">
                        <span class="glyphicon glyphicon-user"></span>
                        <span ng-if="currentUser.id">{{currentUser.username}}</span> 
                        <span ng-if="!currentUser.id">欢迎</span>
                        <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li ng-if="!currentUser.id">
                            <a href="#/login">登陆</a>
                        </li>
                        <li ng-if="!currentUser.id"><a href="#/register">注册</a></li>
                        <li ng-if="currentUser.id">
                            <a href="#/change-password">修改密码</a>
                        </li>
                        <li ng-if="currentUser.id"><a ng-click="logout()"><span class="glyphicon glyphicon-log-out"></span> 退出</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>-->
        <!-- /.navbar-collapse -->
  <!--  </div> -->
    <!-- /.container-fluid -->
<!--</nav>-->